package com.tjetc.service;

import com.tjetc.domain.Admin;
import com.tjetc.domain.Admins;
import com.tjetc.vo.Result;

import java.util.List;

public interface AdminService {
    boolean login(String username, String password);
    Result register(Admin admin);
    Result update(Admin admin);
    Result delete(int id);
    List<Admin> getAdminsList();
    Admin getAdminsByName(String username);
    Result findByNameAP(Admins admins);
}
